<?php
namespace Home\Model;
use Think\Model;

class BuygroupModel extends Model {
	/**
	 * [数据获取]
	 * @Author   Axing
	 * @DateTime 2017-08-21
	 * @param    string     $field [需要获取的字段名]
	 * @param    string     $where [需要判断的字段名]
	 * @return   [type]            [description]
	 */
	public function ajax_index($field='',$where='') {
		$buygroup = $this->field($field)->select();
		return $buygroup;
	}
}